Keyboard not working under a VM


I enabled the on-screen keyboard via the universal access preferences, (little man-in-circle button on gdm screen). Also had to reboot to get the keyboard to display properly. Once logged in the regular keyboard worked fine.

I found the :0-greeter.log file in /var/log/gdm had errors complaining about not find symbols for "U.S. English" keyboard layout in us keyboard file. A little grepping later finds "U.S. English" is set in /etc/default/console-setup.

XKBMODEL="SKIP"
XKBLAYOUT="us"
XKBVARIANT="U.S. English"
XKBOPTIONS=""


XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""

Reboot and keyboard now works at login. Don't know if this is VMware's or Ubuntu's fault during install, since I used the auto install process in Workstation 7. Sounds like it could be VMware related as a manual install seems to avoid this.

Hope this helps.
blog comments powered by Disqus